package com.baize.cpdepus.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;


@Data
@ToString(doNotUseGetters = true)
@ApiModel("用户")
public class User implements Serializable {
    @ApiModelProperty("ID")
    private Integer id;
    @ApiModelProperty("名字")
    private String name;
    @ApiModelProperty("性别")
    private String sex;
    @ApiModelProperty("手机号")
    private Long phone;
    @ApiModelProperty("地址")
    private String site;
    @ApiModelProperty("头像")
    private String portrait;
    @ApiModelProperty("密码")
    private String password;

}
